package com.zhongli.devplatform.po.user;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/7/27 18:24
 */
@TableName(value = "read_user_parent")
@Data
public class ReadUserParentPO {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 用户表id
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value="用户表id")
    private Integer userId;

    /**
     * 用户表父id
     */
    @TableField(value = "parent_id")
    @ApiModelProperty(value="用户表父id")
    private Integer parentId;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Date updateTime;
}
